# -*- coding: utf-8 -*-
import scrapy

class LookSpider(scrapy.Spider):
    name = 'look'
    allowed_domains = ['www.lookmw.cn']
    start_urls = ['https://www.lookmw.cn/shanggan/list_64482_1.html']

    def parse(self, response):
        lists = response.css('.picAtc .pr')
        print(lists)
        for item in lists:
            text = item.css('.text::text').extract_first()
            author = item.css('.author::text').extract_first()
            tags = item.css('.tags .tag::text').extract()
